import request from '@/utils/request.js'

// 加强版axios

export const loginApi = function (data) {
    return request.post('/user/login',data)
}
export const regApi = function (data) {
    return request.post('/user/reg',data)
}

export const sendSms = function (data) {
    return request.post('/user/sendSms',data)
}
export const getuserInfo = function () {
    return request.get('/user/getuserInfo')
}

export const editUserInfo = function (data) {
    return request.post('/user/editUserInfo',data)
}
